package com.aaa.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {
    @RequestMapping
    public String test1(){
        return "哈哈哈哈";
    }
    @RequestMapping("/test")
    public String test(){
        return "哈哈";
    }
}
